home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 62 / Quick PC 62.iso / I386 / NETLPD.IN_ / netlpd.inf
Encoding:
INI File  |  1999-11-06  |  3.7 KB  |  130 lines

  1. ; -- NETLPD.INX --
  2. ;
  3. ; TCP/IP Print Services.
  4. ;
  5. ; Copyright (c) 1993-1999, Microsoft Corporation
  6.  
  7.  
  8. [version]
  9. signature               = "$Windows NT$"
  10. Provider                = %Msft%
  11. LayoutFile              = layout.inf
  12. DriverVer=11/06/1999,5.00.2175.1
  13.  
  14.  
  15. [LPDSVC]
  16. CopyFiles               = LPDSVC.CopyFiles.Sys
  17. Uninstall               = LPDSVC.Remove
  18. StartServices           = LPDSVC
  19. DependOnComponents      = MS_TCPIP
  20.  
  21.  
  22. [LPDSVC.Services]
  23. ; 0x10 = SPSVCINST_NOCLOBBER_STARTTYPE
  24. AddService              = LPDSVC,       0x10,       LPDSVC.AddService, LPDSVC.AddEventLog
  25.  
  26.  
  27. [LPDSVC.Remove.Services]
  28. DelService              = LPDSVC
  29.  
  30.  
  31. ;
  32. ; Print monitor stuff
  33. ;
  34. [LPDSVC.PrintMonitor]
  35. AddMonitor              = LPDSVC.AddPrintMonitor
  36.  
  37.  
  38. [LPDSVC.Remove.PrintMonitor]
  39. DelMonitor              = LPDSVC.Remove.DelPrintMonitor
  40.  
  41.  
  42. [LPDSVC.AddPrintMonitor]
  43. PrintMonitorName        = "LPR Port"
  44. PrintMonitorDLL         = "lprmon.dll"
  45.  
  46.  
  47. [LPDSVC.Remove.DelPrintMonitor]
  48. PrintMonitorName        = "LPR Port"
  49.  
  50.  
  51. [LPDSVC.AddService]
  52. DisplayName             = %LPDSVC_Display%
  53. ServiceType             = %SERVICE_WIN32_SHARE_PROCESS%
  54. StartType            = %SERVICE_DEMAND_START%
  55. ErrorControl            = %SERVICE_ERROR_NORMAL%
  56. Dependencies            = Tcpip, Spooler
  57. ServiceBinary           = %11%\tcpsvcs.exe
  58. StartName               = LocalSystem
  59. AddReg                  = LPDSVC.AddReg
  60. Description             = %LPDSVC_Desc%
  61.  
  62.  
  63. [LPDSVC.AddReg]
  64. HKR,   "Parameters",    "AllowJobRemoval",        0x10003,    1
  65. HKR,   "Parameters",    "AllowPrinterResume",     0x10003,    1
  66. HKR,   "Parameters",    "MaxConcurrentUsers",     0x10003,    100
  67.  
  68.  
  69. HKLM,  "System\CurrentControlSet\Services\EventLog\Application\LPR Print Monitor", "EventMessageFile", %REG_EXPAND_SZ%, "%SystemRoot%\System32\lprmon.dll"
  70.  
  71. [LPDSVC.AddEventLog]
  72. AddReg = LPDSVC.AddEventLog.AddReg
  73.  
  74.  
  75. [LPDSVC.AddEventLog.AddReg]
  76. HKR,    ,                                               "EventMessageFile",             %REG_EXPAND_SZ%, "%%SystemRoot%%\System32\lpdsvc.dll"
  77. HKR,    ,                                               "TypesSupported",               %REG_DWORD%,    0x00000007
  78.  
  79.  
  80. [LPDSVC.Upgrade]
  81. CopyFiles               = LPDSVC.CopyFiles.Sys
  82.  
  83.  
  84. [DestinationDirs]
  85. LPDSVC.CopyFiles.Sys    = 11
  86.  
  87.  
  88. [LPDSVC.CopyFiles.Sys]
  89. lpdsvc.dll,     ,   ,   2
  90. lprmon.dll,     ,   ,   0x00001002
  91.  
  92.  
  93. [Strings]
  94. Msft                        = "Microsoft"
  95.  
  96. LPDSVC_Display              = "TCP/IP Print Server"
  97. LPDSVC_Desc                 = "Provides a TCP/IP-based printing service that uses the Line Printer protocol."
  98. LPDSVC_HELP                 = "Enables Windows to print to TCP/IP-connected printers or to printers that are physically attached to UNIX computers."
  99.  
  100. ; ServiceType values
  101. SERVICE_KERNEL_DRIVER       = 0x00000001
  102. SERVICE_FILE_SYSTEM_DRIVER  = 0x00000002
  103. SERVICE_ADAPTER             = 0x00000004
  104. SERVICE_RECOGNIZER_DRIVER   = 0x00000008
  105. SERVICE_WIN32_OWN_PROCESS   = 0x00000010
  106. SERVICE_WIN32_SHARE_PROCESS = 0x00000020
  107. SERVICE_INTERACTIVE_PROCESS = 0x00000100
  108. SERVICE_INTERACTIVE_SHARE_PROCESS = 0x00000120
  109.  
  110. ; StartType values
  111. SERVICE_BOOT_START          = 0x00000000
  112. SERVICE_SYSTEM_START        = 0x00000001
  113. SERVICE_AUTO_START          = 0x00000002
  114. SERVICE_DEMAND_START        = 0x00000003
  115. SERVICE_DISABLED            = 0x00000004
  116.  
  117. ; ErrorControl values
  118. SERVICE_ERROR_IGNORE        = 0x00000000
  119. SERVICE_ERROR_NORMAL        = 0x00000001
  120. SERVICE_ERROR_SEVERE        = 0x00000002
  121. SERVICE_ERROR_CRITICAL      = 0x00000003
  122.  
  123. ; Registry types
  124. REG_MULTI_SZ                = 0x10000
  125. REG_EXPAND_SZ               = 0x20000
  126. REG_DWORD                   = 0x10001
  127. FLG_ADDREG_KEYONLY          = 0x00000010
  128.  
  129.  
  130.